package com.sunwoda.springbootredis.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: springbootredis
 * @description:
 * @author: SGR
 * @create: 2021-09-23 14:30
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class RequestOrderLineDto {
    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 请购单ID
     */
    private Integer requestOrderId;
    /**
     * 商品ID
     */
    private Integer productId;

    @Excel(name = "商品名称")
    private String productName;

    /**
     * 购买数量
     */
    @Excel(name = "购买数量",isStatistics = true)
    private Object purchaseNumber;
    /**
     * 小计
     */
    @Excel(name = "小计", isStatistics = true)
    private Object subtotal;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}
